package com.zfj.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zfj.common.utils.PageUtils;
import com.zfj.gulimall.product.entity.SpuInfoEntity;
import com.zfj.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author zhangfujing
 * @email zfjcontrolling@163.com
 * @date 2022-05-21 17:40:49
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

	void saveSpuInfo(SpuSaveVo vo);

	void saveBaseSpuInfo(SpuInfoEntity infoEntity);

	PageUtils queryPageByCondition(Map<String, Object> params);

	/**
	 * 商品上架
	 * @param spuId
	 */
	void up(Long spuId);
}

